<nz-modal [(nzVisible)]="isVisible"
          [nzWidth]="700" [nzTitle]="'远程烧写设备号'"
          (nzOnCancel)="handleCancel()"
          [nzOkText]="'确定烧写'"
          (nzOnOk)="handleOk()"
          [nzOkLoading]="isOkLoading"
>
  <form nz-form [formGroup]="formModel">
    <nz-form-item>
      <nz-form-label [nzSpan]="7" nzRequired nzFor="packageTime" nzRequired>原设备号 </nz-form-label>
      <nz-form-control [nzSpan]="12" nzErrorTip="请输入原设备号！">
        <input nz-input placeholder="请输入原设备号" formControlName="originalDeviceNo" [maxlength]="6"/>
      </nz-form-control>
    </nz-form-item>
    <nz-form-item>
      <nz-form-label [nzSpan]="7" nzRequired nzFor="packageTime" nzRequired>新设备号 </nz-form-label>
      <nz-form-control [nzSpan]="12" nzErrorTip="请输入新设备号！">
        <input nz-input placeholder="请输入新设备号" type="number" formControlName="deviceNo" [maxlength]="6"/>
      </nz-form-control>
    </nz-form-item>
  </form>
</nz-modal>
